<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/base/main/pubInclude.jsp" %>
<form id="updform" method="post">
	<input type="hidden" name="userId"/>
	<table cellpadding="5" style='width:100%;'>
		<tr>
			<td class='key'><span>*</span><spring:message code="base.user.main.name"/>:</td>
			<td><input class="easyui-textbox" type="text" name="userName" validType="maxlength[12]" data-options="prompt:'<spring:message code="base.user.main.inputCommon"/> <spring:message code="base.user.main.name"/>',required:true"/></td>
		</tr>
		<tr>
			<td class='key'><span>*</span><spring:message code="base.user.main.account.number"/>:</td>
			<td><input type="text" id="userCode" name="userCode"  validType="maxlength[28]" data-options="prompt:'<spring:message code="base.user.main.inputCommon"/> <spring:message code="base.user.main.account.number"/>',required:true"></td>
		</tr>
		<tr style='display:none'>
			<td class='key'><spring:message code="base.user.add.pic"/>:</td>
			<td><input type="text" id="userImg" name="userImg" data-options="clearicon:false,prompt:'<spring:message code="base.user.main.inputCommon_1"/> <spring:message code="base.user.add.pic"/>'"/></td>
		</tr>
		<tr>
			<td class='key'><span>*</span><spring:message code="base.user.add.gender"/>:</td>
			<td><input class="easyui-textbox" type="text" name="sex" id="sex" data-options="required:true"/></td>
		</tr>
		<tr style="display:none;">
			<td class='key'><spring:message code="base.user.add.birthday"/>:</td>
			<td><input class="easyui-datebox" name="birthday" data-options="prompt:'<spring:message code="base.user.main.inputCommon_1"/> <spring:message code="base.user.add.birthday"/>',validType:'date'"/></td>
		</tr>
		<tr style="display:none;">
			<td class='key'><spring:message code="base.user.add.IDNumber"/>:</td>
			<td><input type="text" id="cardNo" name="cardNo" data-options="prompt:'<spring:message code="base.user.main.inputCommon"/> <spring:message code="base.user.add.IDNumber"/>'"/></td>
		</tr>
		<tr>
			<td class='key'><span>*</span><spring:message code="base.user.main.type"/>:</td>
			<td><input class="easyui-combobox" data-options="valueField:'baseCode',textField:'baseName',required:true" type="text" id="userType" name="userType" data-options="required:true"/></td>
		</tr>
		<!-- <tr>
			<td class='key'><span>*</span>系统类型:</td>
			<td><input class="easyui-combobox" data-options="valueField:'baseCode',textField:'baseName',required:true" type="text" id="sysType" name="sysType" data-options="required:true"/></td>
		</tr> -->
		<tr>
			<td class='key'><span>*</span>所属组织架构:</td>
			<td>
				<!-- <input type='text' name="depts.deptId" id="deptId" data-options="required:true"/> -->
				<input type="text" id="deptIdIpt" class="easyui-textbox"  data-options="prompt:'请选择所属组织架构'"/>
				<input type="hidden" name="depts.deptId" id ="deptId" />
			</td>
		</tr>
		<tr style="display:none;">
			<td class='key'><spring:message code="base.user.user.telephone"/>:</td>
			<td><input class="easyui-textbox" type="text" name="telphone" data-options="validType:'phone',prompt:'<spring:message code="base.user.main.inputCommon"/> <spring:message code="base.user.user.telephone"/>'"/></td>
		</tr>
		<tr>
			<td class='key'><span>*</span><spring:message code="base.user.main.cellphone"/>:</td>
			<td><input class="easyui-textbox" type="text" name="mobile" data-options="validType:'mobile',prompt:'<spring:message code="base.user.main.inputCommon"/> <spring:message code="base.user.main.cellphone"/>',required:true"/></td>
		</tr>
		<tr>
			<td class='key'>Email:</td>
			<td><input class="easyui-textbox" type="text" name="email" data-options="validType:'email',prompt:'<spring:message code="base.user.main.inputCommon"/> Email'"/></td>
		</tr>
		<tr style="display:none;">
			<td class='key'><spring:message code="base.user.upd.devcode"/>:</td>
			<td><input class="easyui-textbox" type="text" name="device" data-options="prompt:'<spring:message code="base.user.main.inputCommon"/> <spring:message code="base.user.upd.devcode"/>'"/></td>
		</tr>
		<tr>
			<td class='key'><span>*</span><spring:message code="base.user.main.status"/>:</td>
			<td><input class="easyui-combobox" data-options="valueField:'baseCode',textField:'baseName',required:true" type="text" id="status" name="status" data-options="required:true"/></td>
		</tr>
		<tr style="display:none;">
			<td class='key'><spring:message code="base.user.add.address"/>:</td>
			<td><input class="easyui-textbox" name="address" data-options="multiline:true" validType="maxlength[60]" style="height:60px"/></td>
		</tr>
	</table>
</form>
